package day05;

import java.util.Scanner;

/**
 * @author yzg
 * @desc TODO
 * @date 2025/4/14
 */
public class StringChange {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.next();

        String change = str.substring(0, 1).toUpperCase() +
                str.substring(1).toLowerCase();

        System.out.println(change);
    }
}
